﻿using SqlSugar;
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using GKQC.DbHelper.ViewModels;

namespace GKQC.DbHelper.DbModels
{
    //用户组别
    [SugarTable("t_sys_usergroup")]
    public class UserGroupModel
    {
        public UserGroupModel()
        {
            this.IsUse = true;
            this.Id = -1;
        }
        /// <summary>
        /// 流水号
        /// </summary>	
        [SugarColumn(IsIgnore = true)]
        
        public long Id { get; set; }
        /// <summary>
        /// 组别代号
        /// </summary>		
        [SugarColumn(IsPrimaryKey = true)]
        public string GroupCode { get; set; }
        /// <summary>
        /// 组别名称
        /// </summary>		
        public string GroupName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>		
        public bool IsUse { get; set; }
        /// <summary>
        /// 备注
        /// </summary>		
        public string Remark { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool IsModified { get; set; }
    }
}

